def get_paramlist(text):
    """通过用户输入的文本返回变量列表"""
    paramlist = text.split('\n')
    paramlist = [text.strip() for text in paramlist]  # 去掉变量2边的空格
    paramlist = [text for text in paramlist if text]  # 去掉空字符串
    return paramlist